#!/bin/bash
#
#"""
#-------------------------------------------------
#   File Name:       ${0}
#   Description:
#   Project Name:    index_es
#   Ide Name:        PyCharm
#   Author:          willis
#   date:            2019/5/9  10:38
#-------------------------------------------------
#   Change Activity:
#                    2019/5/9  10:38:
#-------------------------------------------------
#"""

#set -x
#set -e

#-------------------------------------------------
LOGS(){
    echo "[$(date +%Y%m%d_%H:%M:%S) $$] $*"
}
#-------------------------------------------------

echo $1

rm -rf ./input/*
case "$1" in
    '1')
        cp ./input_file/samplesource[1-9].txt ./input_file/samplesource10.txt ./input ;;
    '2')
        cp ./input_file/samplesource1[0-9].txt ./input_file/samplesource20.txt ./input ;;
    '3')
        cp ./input_file/samplesource2[0-9].txt ./input_file/samplesource30.txt ./input ;;
    '4')
        cp ./input_file/samplesource3[0-9].txt ./input_file/samplesource40.txt ./input ;;
    *)
        echo 'max 4' ;;
esac